package routers

import (
	"gin-system/controllers"
	"github.com/gin-gonic/gin"
)

func physicalRouter(r *gin.RouterGroup) {
	r.GET("/physical", controllers.Get)
	r.GET("/deletePhysical", controllers.Del)
	r.PUT("/physical", controllers.Update)
	r.POST("/physical", controllers.Add)
	r.GET("/average",controllers.GetAverage)
	r.GET("/fileDownload", controllers.FileDownload)
	r.GET("/getConsecutiveMean",controllers.GetConsecutiveMean)
}
